<script lang="ts" setup>
const logout = () => {
  fetch("/api/logout")
    .then((value) => value.json())
    .then((res) => {
      console.log(res);
    });
};
</script>
<template>
  <h2>子应用About</h2>
  <button @click="logout">退出登录</button>
</template>
